package com.littleII.dao;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

public interface BaseDAO {
	public void save(Object o);

	public void saveOrUpdate(Object o);

	public void delete(Object o);

	public void update(Object o);

	public <T extends Serializable> List<T> getObjList(String hql,
			Map<String, Object> map);

	public <T extends Serializable> T getObj(String hql, Map<String, Object> map);

}
